package com.letoken.platform.repo.mall.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城banner图
 * </p>
 *
 * @author author
 * @since 2023-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_mall_banner")
@ApiModel(value="AppMallBanner对象", description="商城banner图")
public class AppMallBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "图片地址")
    private String url;

    @ApiModelProperty(value = "跳转地址")
    private String linkUrl;

    @ApiModelProperty(value = "状态 0=上架 1=下架")
    private Integer state;

    @ApiModelProperty(value = "排序值 倒叙越大越前")
    private Integer sort;

    @ApiModelProperty(value = "跳转类型 0=网页 1=内部页面")
    private Integer type;


    @ApiModelProperty(value = "背景颜色")
    private String background;

    private LocalDateTime createTime;


}
